On opt_nosmp, also force num_cores to 1. Do this in setup.c
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Wed, 27 Jul 2005 11:20:47 +0000 (11:20 +0000)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Wed, 27 Jul 2005 11:20:47 +0000 (11:20 +0000)
commite386da97d105491c7bbea5086d551ae3a78c096b
treede9c526413810ac572311afb76183dff81495f82
parentb5deb01bfab1863eec708af9b58db5e9837b4743
On opt_nosmp, also force num_cores to 1. Do this in setup.c
instead of cpu/common.c. This is where opt_nosmp is defined,
and it reduces diff of cpu/ subdir against native Linux.
Signed-off-by: Keir Fraser <keir@xensource.com>
xen/arch/x86/cpu/common.c
xen/arch/x86/setup.c
xen/common/domain.c